package xyz.labmem.main.modular.app.zhgk.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*
import com.fasterxml.jackson.annotation.JsonFormat
import xyz.labmem.base.core.annotion.DynamicChartColumn
import xyz.labmem.base.core.annotion.DynamicPageColumn
import xyz.labmem.base.core.annotion.SocketPath

/**
 * 综合人口资源采集对象 zh_rk_zycjb
 * 
 * @author ruoyi
 * @date 2022-03-04
 */
@SocketPath("false",order=2)
@TableName("zh_rk_zycjb")
@ApiModel(value = "人口资源")
class ZhRkZycjb : GFBaseEntity<ZhRkZycjb>() {
    /** 所属辖区 */
    @ExcelProperty("所属辖区")
    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    var ssxq : String? = null
    /** 填表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty("填表日期")
    @TableField("tbrq")
    @ApiModelProperty(value = "填表日期")
    var tbrq : Date? = null

    @DynamicChartColumn("男性18－22岁",order = 1)
    @ExcelProperty("男性-18－22岁(万人)")
    @TableField("RKZY_NX_18_22S")
    @ApiModelProperty(value = "男性18－22岁(万人)")
    var rkzyNx1822s : String? = null

    @DynamicChartColumn("男性23－35岁",order = 2)
    @ExcelProperty("男性23－35岁(万人)")
    @TableField("RKZY_NX_18_35S")
    @ApiModelProperty(value = "男性23－35岁(万人)")
    var rkzyNx1835s : String? = null

    @DynamicChartColumn("男性36－45岁",order = 3)
    @ExcelProperty("男性36－45岁(万人)")
    @TableField("RKZY_NX_18_45S")
    @ApiModelProperty(value = "男性36－45岁(万人)")
    var rkzyNx1845s : String? = null

    @DynamicChartColumn("男性18－60岁",order = 4)
    @ExcelProperty("男性18－60岁(万人)")
    @TableField("RKZY_NX_18_60S")
    @ApiModelProperty(value = "男性18－60岁(万人)")
    var rkzyNx1860s : String? = null

    @DynamicChartColumn("女性18－55岁",order = 5)
    @ExcelProperty("女性18－55岁(万人)")
    @TableField("RKZY_NX_18_55S")
    @ApiModelProperty(value = "女性18－55岁(万人)")
    var rkzyNx1855s : String? = null

}
